package qa.ui;

import java.awt.event.ActionListener;

import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JLabel;

public class BalanceInformation extends JPanel {


	private JLabel lblBalanceInformation;
	private JButton btnBack;
	private String balance;

	/**
	 * Create the panel.
	 */
	public BalanceInformation() {
		setLayout(null);

		btnBack = new JButton("<");
		btnBack.setBounds(48, 204, 117, 29);
		add(btnBack);

		lblBalanceInformation = new JLabel("Balance Information ");
		lblBalanceInformation.setBounds(104, 31, 174, 16);
		add(lblBalanceInformation);

	}
	public String getBalance(){
		balance = lblBalanceInformation.getText();
		return balance;
	}


	public JButton getbtnBack(){
		return btnBack;
	}

	public void addActionListener(ActionListener l) {

		btnBack.addActionListener(l);

	}
}











